/*****************************************************************************/
/**
 *  @file   BoundingBox.h
 *  @author Guo Jiazhen, Naohisa Sakamoto
 */
/*----------------------------------------------------------------------------
 *
 *  Copyright (c) Visualization Laboratory, Kyoto University.
 *  All rights reserved.
 *  See http://www.viz.media.kyoto-u.ac.jp/kvs/copyright/ for details.
 *
 *  $Id$
 */
/*****************************************************************************/
#ifndef KVSTENSORVIS__CL__BOUNDING_BOX_H_INCLUDE
#define KVSTENSORVIS__CL__BOUNDING_BOX_H_INCLUDE

#include <kvs/UnstructuredVolumeObject>


namespace kvstensorvis
{

namespace cl
{

class BoundingBox
{
public:
    BoundingBox();
    ~BoundingBox();
    BoundingBox(const kvs::UnstructuredVolumeObject* object, size_t cindex); ///<create a bounding box based on a specific object and cell index 
public:
    const float* bounds() const;
private:
    float m_bounds[6];
};

} // end of namespace cl

} // end of namespace kvstensorvis

#endif
